# coding: utf-8
import sys

from PIL import Image
from PIL.ImageQt import toqpixmap
from PySide6.QtWidgets import QApplication

from components import PictureBrowserView

app = QApplication(sys.argv)
view = PictureBrowserView()
# view.setPixmap(r"G:\手机\壁纸\20250616153644.png")
view.setPixmap(toqpixmap(Image.open(r"G:\手机\壁纸\20250616153644.png")))
view.closeSignal.connect(app.quit)
view.show()
sys.exit(app.exec())
